Branchwell

PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Hypnotic / Polar Mirror / flexi - shelter in infinity nz- ass.milk

1MILKDROP_PRESET_VERSION=201
2PSVERSION=3
3PSVERSION_WARP=3
4PSVERSION_COMP=3
5[preset00]
6fRating=5.000000
7fGammaAdj=1.000
8fDecay=0.950
9fVideoEchoZoom=0.498
10fVideoEchoAlpha=0.000
11nVideoEchoOrientation=2
12nWaveMode=0
13bAdditiveWaves=1
14bWaveDots=0
15bWaveThick=0
16bModWaveAlphaByVolume=0
17bMaximizeWaveColor=0
18bTexWrap=1
19bDarkenCenter=0
20bRedBlueStereo=0
21bBrighten=0
22bDarken=0
23bSolarize=0
24bInvert=0
25fWaveAlpha=0.000
26fWaveScale=0.010
27fWaveSmoothing=0.630
28fWaveParam=-1.000
29fModWaveAlphaStart=0.710
30fModWaveAlphaEnd=1.300
31fWarpAnimSpeed=1.000
32fWarpScale=1.331
33fZoomExponent=1.00000
34fShader=0.000
35zoom=13.30089
36rot=0.00000
37cx=0.500
38cy=0.500
39dx=-0.28000
40dy=-0.32000
41warp=0.01000
42sx=1.00000
43sy=1.00000
44wave_r=0.650
45wave_g=0.650
46wave_b=0.650
47wave_x=0.500
48wave_y=0.500
49ob_size=0.000
50ob_r=0.000
51ob_g=0.000
52ob_b=0.000
53ob_a=1.000
54ib_size=0.000
55ib_r=1.000
56ib_g=1.000
57ib_b=1.000
58ib_a=1.000
59nMotionVectorsX=12.800
60nMotionVectorsY=9.600
61mv_dx=0.000
62mv_dy=0.000
63mv_l=1.000
64mv_r=1.000
65mv_g=0.910
66mv_b=0.710
67mv_a=0.000
68b1n=0.000
69b2n=0.000
70b3n=0.000
71b1x=1.000
72b2x=1.000
73b3x=1.000
74b1ed=0.250
75wavecode_0_enabled=0
76wavecode_0_samples=512
77wavecode_0_sep=0
78wavecode_0_bSpectrum=0
79wavecode_0_bUseDots=0
80wavecode_0_bDrawThick=0
81wavecode_0_bAdditive=0
82wavecode_0_scaling=1.00000
83wavecode_0_smoothing=0.50000
84wavecode_0_r=1.000
85wavecode_0_g=1.000
86wavecode_0_b=1.000
87wavecode_0_a=1.000
88wavecode_1_enabled=0
89wavecode_1_samples=512
90wavecode_1_sep=0
91wavecode_1_bSpectrum=0
92wavecode_1_bUseDots=0
93wavecode_1_bDrawThick=0
94wavecode_1_bAdditive=0
95wavecode_1_scaling=1.00000
96wavecode_1_smoothing=0.50000
97wavecode_1_r=1.000
98wavecode_1_g=1.000
99wavecode_1_b=1.000
100wavecode_1_a=1.000
101wavecode_2_enabled=0
102wavecode_2_samples=512
103wavecode_2_sep=0
104wavecode_2_bSpectrum=0
105wavecode_2_bUseDots=0
106wavecode_2_bDrawThick=0
107wavecode_2_bAdditive=0
108wavecode_2_scaling=1.00000
109wavecode_2_smoothing=0.50000
110wavecode_2_r=1.000
111wavecode_2_g=1.000
112wavecode_2_b=1.000
113wavecode_2_a=1.000
114wavecode_3_enabled=0
115wavecode_3_samples=512
116wavecode_3_sep=0
117wavecode_3_bSpectrum=0
118wavecode_3_bUseDots=0
119wavecode_3_bDrawThick=0
120wavecode_3_bAdditive=0
121wavecode_3_scaling=1.00000
122wavecode_3_smoothing=0.50000
123wavecode_3_r=1.000
124wavecode_3_g=1.000
125wavecode_3_b=1.000
126wavecode_3_a=1.000
127shapecode_0_enabled=0
128shapecode_0_sides=100
129shapecode_0_additive=0
130shapecode_0_thickOutline=0
131shapecode_0_textured=0
132shapecode_0_num_inst=1
133shapecode_0_x=0.290
134shapecode_0_y=0.500
135shapecode_0_rad=0.29878
136shapecode_0_ang=0.00000
137shapecode_0_tex_ang=0.00000
138shapecode_0_tex_zoom=1.00000
139shapecode_0_r=0.000
140shapecode_0_g=0.000
141shapecode_0_b=0.000
142shapecode_0_a=1.000
143shapecode_0_r2=0.000
144shapecode_0_g2=0.000
145shapecode_0_b2=0.000
146shapecode_0_a2=0.000
147shapecode_0_border_r=1.000
148shapecode_0_border_g=1.000
149shapecode_0_border_b=1.000
150shapecode_0_border_a=0.000
151shapecode_1_enabled=0
152shapecode_1_sides=100
153shapecode_1_additive=0
154shapecode_1_thickOutline=0
155shapecode_1_textured=0
156shapecode_1_num_inst=1
157shapecode_1_x=0.700
158shapecode_1_y=0.500
159shapecode_1_rad=0.29878
160shapecode_1_ang=0.00000
161shapecode_1_tex_ang=0.00000
162shapecode_1_tex_zoom=1.00000
163shapecode_1_r=0.000
164shapecode_1_g=0.000
165shapecode_1_b=0.000
166shapecode_1_a=1.000
167shapecode_1_r2=0.000
168shapecode_1_g2=0.000
169shapecode_1_b2=0.000
170shapecode_1_a2=0.000
171shapecode_1_border_r=1.000
172shapecode_1_border_g=1.000
173shapecode_1_border_b=1.000
174shapecode_1_border_a=0.000
175shapecode_2_enabled=0
176shapecode_2_sides=34
177shapecode_2_additive=0
178shapecode_2_thickOutline=0
179shapecode_2_textured=1
180shapecode_2_num_inst=1
181shapecode_2_x=0.500
182shapecode_2_y=0.500
183shapecode_2_rad=0.22167
184shapecode_2_ang=0.00000
185shapecode_2_tex_ang=0.00000
186shapecode_2_tex_zoom=0.40839
187shapecode_2_r=1.000
188shapecode_2_g=1.000
189shapecode_2_b=1.000
190shapecode_2_a=1.000
191shapecode_2_r2=0.000
192shapecode_2_g2=0.000
193shapecode_2_b2=0.000
194shapecode_2_a2=0.000
195shapecode_2_border_r=1.000
196shapecode_2_border_g=1.000
197shapecode_2_border_b=1.000
198shapecode_2_border_a=0.000
199shape_2_per_frame1=x=.5+q4;y=.5+q5;
200shape_2_per_frame2=rad=sin(time);;
201shapecode_3_enabled=0
202shapecode_3_sides=4
203shapecode_3_additive=0
204shapecode_3_thickOutline=0
205shapecode_3_textured=0
206shapecode_3_num_inst=1
207shapecode_3_x=0.500
208shapecode_3_y=0.500
209shapecode_3_rad=0.10000
210shapecode_3_ang=0.00000
211shapecode_3_tex_ang=0.00000
212shapecode_3_tex_zoom=1.00000
213shapecode_3_r=1.000
214shapecode_3_g=0.000
215shapecode_3_b=0.000
216shapecode_3_a=1.000
217shapecode_3_r2=0.000
218shapecode_3_g2=1.000
219shapecode_3_b2=0.000
220shapecode_3_a2=0.000
221shapecode_3_border_r=1.000
222shapecode_3_border_g=1.000
223shapecode_3_border_b=1.000
224shapecode_3_border_a=0.100
225per_frame_init_1=zoom=1;
226per_frame_init_2=xpos=0;
227per_frame_init_3=ypos=0;
228per_frame_1=bb = bb*0.99 + bass*0.02;
229per_frame_2=mm = mm*0.99 + mid*0.02;
230per_frame_3=tt = tt*0.99 + treb*0.02;
231per_frame_4=
232per_frame_5=mx = max(max(bb,mm),tt);
233per_frame_6=mn = min(min(bb,mm),tt);
234per_frame_7=
235per_frame_8=t1 = (bb-mn)/(mx-mn);
236per_frame_9=t2 = (mm-mn)/(mx-mn);
237per_frame_10=t3 = (tt-mn)/(mx-mn);
238per_frame_11=
239per_frame_12=v = 0.2/fps;
240per_frame_13=bm = bm + (t1-t2)*v;
241per_frame_14=mt = mt + (t2-t3)*v;
242per_frame_15=
243per_frame_16=// coordinates spiral 1
244per_frame_17=q11 = 0.5; // X
245per_frame_18=q12 = 0; // Y
246per_frame_19=
247per_frame_20=// coordinates spiral 2
248per_frame_21=q13 = -0.5;
249per_frame_22=q14 = 0;
250per_frame_23=
251per_frame_24=q15 = 0.5/asin(1); // pi/4
252per_frame_25=
253per_frame_26=q16 = -bm; // rotation
254per_frame_27=q17 = mt; // growth
255per_frame_28=
256per_frame_29=// raytraced sphere code
257per_frame_30=
258per_frame_31=d = 4; // distance of the sphere, the farther you're away the more you'll see on the horizon
259per_frame_32=z = 0.4; // distance of the pane where the scene is projected on, wider distance = smaller apex angle of the camera, very small distances = fish eyes view
260per_frame_33=
261per_frame_34=zz = 2.2; // linear zoom
262per_frame_35=
263per_frame_36=pi = asin(1)*2;
264per_frame_37=pi2inv = 0.5/pi;
265per_frame_38=maskangle = asin( 1/d);
266per_frame_39=q32 = maskangle; // hit = (cameras angle < mask_angle)
267per_frame_40=q31 = d;
268per_frame_41=q30 = z;
269per_frame_42=q29 = pi2inv;
270per_frame_43=q28 = pi;
271per_frame_44=q27 = 1/zz;
272per_frame_45=
273per_frame_46=v = 0.4;
274per_frame_47=j1 = j1*0.95 + sqr(bass*4)*v;
275per_frame_48=j2 = j2*0.95 + sqr(mid*4)*v;
276per_frame_49=j3 = j3*0.95 + sqr(treb*4)*v;
277per_frame_50=
278per_frame_51=n = n + j1*0.0052;
279per_frame_52=n1 = n1 + j2*0.0052;
280per_frame_53=n2 = n2 + j3*0.0052;
281per_frame_54=
282per_frame_55=
283per_frame_56=w1 = bm*pi; // solid angles to rotate the sphere in its origin
284per_frame_57=w2 = mt*pi;
285per_frame_58=w3 = n2*0.0;
286per_frame_59=
287per_frame_60=q20 = cos(w1);
288per_frame_61=q21 = sin(w1);
289per_frame_62=q22 = cos(w2);
290per_frame_63=q23 = sin(w2);
291per_frame_64=q24 = cos(w3);
292per_frame_65=q25 = sin(w3);
293warp_1=`float2 numerator, denominator, fraction;
294warp_2=`
295warp_3=`float2 polar, factorA, factorB, product;
296warp_4=`sampler sampler_pano_earth;
297warp_5=`sampler sampler_pano_earth_clouds;
298warp_6=`sampler sampler_pano_earth_night;
299warp_7=`
300warp_8=`shader_body
301warp_9=`{
302warp_10=`
303warp_11=`float z = q30;
304warp_12=`float d = q31;
305warp_13=`float pi = q28;
306warp_14=`float pi2inv = q29;
307warp_15=`float mask_apex = q32;
308warp_16=`float zoom = q27;
309warp_17=`
310warp_18=`float2 c = zoom*(uv_orig-0.5)*aspect.xy;
311warp_19=`
312warp_20=`float camera_apex = atan2( length(c),z);
313warp_21=`
314warp_22=`bool mask = mask_apex >= camera_apex;
315warp_23=`
316warp_24=`float longitude = atan2(c.x,c.y);
317warp_25=`float latitude = (pi - camera_apex + asin(d*sin(camera_apex)));
318warp_26=`
319warp_27=`float2 polar = float2(longitude,latitude);
320warp_28=`
321warp_29=`float3 p = float3( sin(polar.x)*sin(polar.y),cos(polar.x)*sin(polar.y),cos(polar.y));
322warp_30=`
323warp_31=`factorA = p.zx;
324warp_32=`factorB = float2(q22,q23);
325warp_33=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y,factorA.x*factorB.y + factorA.y*factorB.x);
326warp_34=`p.zx = product.xy;
327warp_35=`
328warp_36=`factorA = p.zy;
329warp_37=`factorB = float2(q20,q21);
330warp_38=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y,factorA.x*factorB.y + factorA.y*factorB.x);
331warp_39=`p.zy = product.xy;
332warp_40=`
333warp_41=`polar = float2(atan2(p.z,p.x),atan2(p.y,length(p.xz)))*pi2inv*float2(1,2)+float2(0,0.5);
334warp_42=`
335warp_43=`
336warp_44=`ret = mask*tex2d(sampler_pano_earth,polar);
337warp_45=`ret = lerp(ret,1,mask*tex2d(sampler_pano_earth_clouds,polar));
338warp_46=`
339warp_47=`
340warp_48=`/*** Flexis cleaned up Moebius spiral code ***/
341warp_49=`
342warp_50=`float cutoff = 1;
343warp_51=`int n = -2;
344warp_52=`float s = 0.666;
345warp_53=`
346warp_54=` c = (uv_orig-0.5)*2*aspect.wz;
347warp_55=` numerator = (c + float2(q11,q12))*64;
348warp_56=` denominator = c + float2(q13,q14);
349warp_57=` fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y,
350warp_58=` numerator.y*denominator.x - numerator.x*denominator.y)/
351warp_59=` (denominator.x*denominator.x + denominator.y*denominator.y);
352warp_60=` c = fraction-0.5;
353warp_61=` float1 ang_hq = n*atan2(c.x,c.y);
354warp_62=` float2 spiral = float2(ang_hq*q15+q16,s*aspect.w*log(length(c))+q17);
355warp_63=` spiral = 0.5 + (0.5 - abs( frac( spiral * 0.5 ) * 2.0 - 1.0 ))*cutoff; // mirror
356warp_64=`
357warp_65=`/**********************************************/
358warp_66=`
359warp_67=`
360warp_68=`ret = lerp(ret,GetPixel(spiral)-0.02,1-mask);
361warp_69=`float4 noise2 = tex3D(sampler_noisevol_hq,
362warp_70=` ((uv_orig.xyy
363warp_71=` )*texsize.xyy*texsize_noisevol_hq.zww
364warp_72=` ).xyz*
365warp_73=` float3(1,1,0)*0.05 +
366warp_74=` time*float3(0,0,1)*0.4
367warp_75=` );
368warp_76=`ret -= (noise2)*.3;
369warp_77=`}
370comp_1=`float2 numerator, denominator, fraction;
371comp_2=`
372comp_3=`shader_body
373comp_4=`{
374comp_5=`
375comp_6=`/*** Flexis cleaned up Moebius spiral code ***/
376comp_7=`
377comp_8=`float cutoff = 1;
378comp_9=`int n = -1;
379comp_10=`float s = 0.3;
380comp_11=`
381comp_12=` float2 c = (uv-0.5)*2*aspect.wz;
382comp_13=` numerator = (c + float2(q11,q12))*64;
383comp_14=` denominator = c + float2(q13,q14);
384comp_15=` fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y,
385comp_16=` numerator.y*denominator.x - numerator.x*denominator.y)/
386comp_17=` (denominator.x*denominator.x + denominator.y*denominator.y);
387comp_18=` c = fraction-0.5;
388comp_19=` float1 ang_hq = n*atan2(c.x,c.y);
389comp_20=` float2 spiral = float2(ang_hq*q15+q16,s*aspect.w*log(length(c))+q17);
390comp_21=` spiral = 0.5 + (0.5 - abs( frac( spiral * 0.5 ) * 2.0 - 1.0 ))*cutoff; // mirror
391comp_22=`
392comp_23=`/**********************************************/
393comp_24=`
394comp_25=` ret = tex2D(sampler_main, spiral);
395comp_26=`
396comp_27=`float4 noise2 = tex3D(sampler_noisevol_hq,
397comp_28=` ((uv.xyy
398comp_29=` )*texsize.xyy*texsize_noisevol_hq.zww
399comp_30=` ).xyz*
400comp_31=` float3(1,1,0)*0.05 +
401comp_32=` time*float3(0,0,1)*0.4
402comp_33=` );
403comp_34=`ret *= (noise2)*2;
404comp_35=`}